<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>摘兔</title>
	<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="full-screen" content="true"/>
	<meta name="screen-orientation" content="portrait"/>
	<meta name="x5-fullscreen" content="true"/>
	<meta name="360-fullscreen" content="true"/>
	<style>
		html, body {
			-ms-touch-action: none;
			background: #888888;
			padding: 0;
			border: 0;
			margin: 0;
			height: 100%;
		}
	</style>

	<!--这个标签为通过egret提供的第三方库的方式生成的 javascript 文件-->
	<!--modules_files_start-->
	<script egret="lib" src="libs/modules/egret/egret.min.js"></script>
	<script egret="lib" src="libs/modules/egret/egret.web.min.js"></script>
	<script egret="lib" src="libs/modules/eui/eui.min.js"></script>
	<script egret="lib" src="libs/modules/res/res.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.min.js"></script>
	<script egret="lib" src="libs/modules/game/game.web.min.js"></script>
	<script egret="lib" src="libs/modules/tween/tween.min.js"></script>
	<script egret="lib" src="libs/modules/socket/socket.min.js"></script>
	<script egret="lib" src="libs/modules/dragonbones/dragonbones.min.js"></script>
	<script egret="lib" src="libs/modules/protobuf/protobuf.min.js"></script>
	<script egret="lib" src="libs/modules/puremvc/puremvc.min.js"></script>
	<!--modules_files_end-->

	<!--这个标签为不通过egret提供的第三方库的方式使用的 javascript 文件，请将这些文件放在libs下，但不要放在modules下面。-->
	<!--other_libs_files_start-->
	<!--other_libs_files_end-->

	<!--这个标签会被替换为项目中所有的 javascript 文件-->
	<!--game_files_start-->
	<script src="main.min.js"></script>
	<!--game_files_end-->
</head>
<body>

	<div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
		 data-entry-class="Main"
		 data-orientation="auto"
		 data-scale-mode="showAll"
		 data-resolution-mode="retina"
		 data-frame-rate="20"
		 data-content-width="360"
		 data-content-height="468"
		 data-show-paint-rect="false"
		 data-multi-fingered="2"
		 data-show-fps="false" data-show-log="false"
		 data-log-filter="" data-show-fps-style="x:0,y:0,size:30,textColor:0x00c200,bgAlpha:0.9">
	</div>
	<!--这个标签会被服务器替换掉-->
	<!--server_replace_start-->
	<script>
		egret.wxShareName = "{{.ShareName}}"
		
		egret.wxOpenID = "{{.OpenID}}"
		egret.wxUserName = "{{.UserName}}"
		egret.wxPic = "{{.Pic}}"
		
		egret.wxAccessToken = "{{.Token}}"
		
		egret.wxAppId = "{{.AppId}}"
		egret.wxTimeStamp = "{{.TimeStamp}}"
		egret.wxNonce = "{{.Nonce}}"
		egret.wxSignature = "{{.Signature}}"
		
		//"http://liutp.vicp.net/wx/authorize?state=1$shareOpenID=0"
		egret.wxShareURL = "http://{{.ShareURL}}/wx/authorize?state={{.AppName}}$shareOpenID={{.OpenID}}"
	</script>
	<!--server_replace_end-->
	<script>
		egret.runEgret();
	</script>
	
	<script type="text/javascript" src="http://static.adwo.com/jssdk/jssdk.min.js" charset="utf-8"></script>
	<script type="text/javascript">	  
		var test = new adwojs({
			eid:'spn', //节点id
			aid: 'a02b60151c254fb6b6bd9143a8059ee3', //申请的android平台pid
			pid: '63086d44091843538e764962f5022ce0', //申请的iphone平台pid
			bt: true, //是否开启测试广告，用于客户在申请PID过程中的广告测试,默认值为false
			af:true, //是否自动适合ipad平板广告，默认值为true。
			so: false,//是否在点击广告时，新开一个窗口，默认为false，表示不新开窗口
			dawx: false,//android下微信流量是否关闭，默认false，表示不关闭
			danwx: false,//android下非微信流量是否关闭，默认false，表示不关闭
			diwx: false,//ios下微信流量是否关闭，默认false，表示不关闭
			dinwx: false,//ios下非微信流量是否关闭，默认false，表示不关闭
			width: 320, //广告图片宽度(除320外，还有720宽度，用于ipad中显示)
			height: 50 //广告图片高度(除50外，还有110高度，用于ipad中显示)
		});
		test.send();
	</script>

	
</body>
</html>
